# -*- coding: utf-8 -*-

# $Id: skel.py 11 2012-09-03 00:27:38Z alexis.roda.villalonga@gmail.com $

from optparse import OptionParser
import os

from dja_skel.lib import command


class _RealCommand(command.SkelCommand):
    entry_point_group = "dja_skel.non_app_skeleton"

    def get_root(self):
        return os.path.abspath(".")


def dja_skel():
    """Stand alone command that does not require a django project.
    """
    parser = OptionParser(option_list=command.get_option_list())
    options, args = parser.parse_args()
    cmd = _RealCommand(args, options.__dict__)
    cmd.run()
